﻿

using System.ComponentModel.DataAnnotations;

namespace HiSportApplet.Application.Service.Auth.Dtos.EncryptKeyDtos
{
    public class EncryptKeyRequest
    {
        //{
        //"openid":"OPENID",
        //"signature":"SIGNATURE",
        //"sig_method":"hmac_sha256"
        //}

        /// <summary>
        /// token
        /// </summary>
        public string  Token { get; set; }
        /// <summary>
        /// 用户的OpenId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Required]
        public string signature { get; set; }

        /// <summary>
        /// 签名方法，只支持 hmac_sha256
        /// </summary>
        [Required]
        public string sig_method { get; set; }
    }
}